<div><center>
<?php
if (!empty($message))
	{
?>
<div class="ui-state-error ui-corner-all" style="font-size:1.2em;margin-top: 0px; padding: 0pt 0.7em;width:400px;margin-left:auto;margin-right:auto;">
<span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
<?php echo $this->Js->link
		(
		$message,
		array('controller' => 'private','action'=>$url),
		array(
			'update' => '#content',
			'htmlAttributes'=>array('style'=>"font-size:1em;font-weight: bold;"),
			)
		);
?>
</div>
<?php
	}
?></center>
</div>

<?php echo $this->Js->writeBuffer(); ?>